#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
#include<ctype.h>
#include<math.h>
char* my_strncat(char* dest, const char* scr, int n)
{
	char* tem = dest;
	while (*dest)
	{
		dest++;
	}
	while ((*dest++ = *scr++) && n--)
	{
		;
	}
	return tem;
}
int my_atoi(const char* scr)
{
	static int  n = 0;
	if (!*scr)
	{
		return 0;
	}
	else if(*scr >= '0'&&*scr <= '9')
	{
		n++;
		return (*scr - '0') * pow(10, n) + my_atoi(scr + 1);
	}
	else
	{
		scr++;
	}
}
int main()
{
	char ch[20] = "033644";
	char ch1[] = "hehe";
	int a = atoi(ch);
	int c = my_atoi(ch1);
	printf("%s", my_strncat(ch, ch1, 6));
	return 0;
}